home *** CD-ROM | disk | FTP | other *** search
- Path: news.production.compuserve.com!news
- From: Peter Hammond <100443.2074@CompuServe.COM>
- Newsgroups: comp.lang.c++
- Subject: osteam & streambuf inheritance
- Date: 1 Apr 1996 10:39:45 GMT
- Organization: Cygnus Intruments Ltd
- Message-ID: <4jobph$h0e$4@mhafc.production.compuserve.com>
-
- Sorry my last post was truncated. I was about to give an example
- but when I typed return the message got sent for some reason.
- Anyway, I have an ostream derivative called gs which has a
- streambuf derivative caleed gss as its *bp. If I call
- gs.rdbuf()->overflow() it outputs more or less right, but when I
- do gs << "stuff" << flush, or gs.flush(), nothing happens. Does
- anyone know what is going on?
- Thanks for any replies,
- Peter.
-
- --
- Cygnus Instruments Ltd Ultrasonic NDT Equipment
- 30 Prince of Wales Rd, Dorchester, Dorset DT1 1PW
- England
- Tel +44 (0)1305 265533 Fax +44 (0)1305 269960
-